package cn.threecubic.springcloud.dao;

import cn.threecubic.springcloud.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Terminator
 * @date 2021/12/12 21:44
 */
@Mapper
public interface OrderDao {

    void create(Order order);

    void update(@Param("userId") Long userId, @Param("status") Integer status);

}
